import { request } from '@/utils/hsj/service/index'
import { parseStrEmpty } from '@/utils/ruoyi'

// 根据支持人员，查询工单列表
export function plans(query) {
  return request({
    url: '/system/workOrder/plans',
    method: 'get',
    params: query,
  })
}

// 修改订单
export function updateWorkOrder(data) {
  return request({
    url: '/system/workOrder',
    method: 'put',
    data: data,
  })
}

// 根据订单id删除支持人员
export function delByWorkOrderId(workOrderId) {
  return request({
    url: '/system/workOrderSupport/byWorkOrderId/' + workOrderId,
    method: 'delete',
  })
}


